package com.zwl.demo.graph.relationship.repository;

import com.zwl.demo.graph.relationship.Relation;
import org.springframework.data.neo4j.repository.Neo4jRepository;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface RelationRepository extends Neo4jRepository<Relation,Long> {

    List<Relation> getRelationByType(String type);



}
